package bookticket.crm.user.service;

import java.util.List;
import java.util.Map;

import bookticket.crm.user.entity.UserEntity;
import bookticket.crm.vip.entity.VipEntity;


public interface UserService {
	
	int register(UserEntity entity);

	List<UserEntity> findAll(Map<String, Object> pageMap);

	UserEntity findByPhoneAndPassword(UserEntity entity);

	int getTotalCounter();

	int updateByPhone(UserEntity userEntity);

	UserEntity findByPhone(String phone);
	
	int findUserVipId();
	
	List<VipEntity> findVipAll();
	
	int findTotalRechargeAmount();
}
